package com.kuaixueit.crm.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kuaixueit.crm.pojo.CPosition;

public interface CPositionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CPosition record);

    int insertSelective(CPosition record);

    CPosition selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(CPosition record);

    int updateByPrimaryKey(CPosition record);
    
    /**
     * 
     * @param deptId
     * @param positionName
     * @return
     */
    List<CPosition> findList(@Param("deptId")Integer deptId,@Param("positionName")String positionName);
}